package com.mars.module.admin.request;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.mars.common.request.PageRequest;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 猫咪请求对象 sys_cat
 *
 * @author mars
 * @date 2024-03-29
 */
@Data
@ApiModel(value = "猫咪对象")
@EqualsAndHashCode(callSuper = true)
public class SysCatRequest extends PageRequest{



    /**
     * ID
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称")
    private String name;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    private String sex;

    /**
     * 猫种
     */
    @ApiModelProperty(value = "猫种")
    private String type;

    /**
     * 绝育情况
     */
    @ApiModelProperty(value = "绝育情况")
    private String sterilization;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 图片
     */
    @ApiModelProperty(value = "图片")
    private String url;

    @ApiModelProperty(value = "封面图片")
    private String urlIndex;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    private String createByName;
}
